changed the authentication forms to ModelForms
CBV implementation for authentication