Refactored auth views using Class Based Views