Put the login and logout logic in the Application_controller