Move the successful_login and unauthorized_reponse to the application controller