I used to do the same, then I started reading articles by the late, great Sheldon Brown.
He advocates using the front brake only as, if modulated correctly, it brings the bike to a stop quicker and safer. Using the back brake only can cause "fish tailing", particularly if steering around a bend...