Refactoring the authentication classes into its own module.
Externalising the auth views.