added login template and controller for user authentication with oauth2