before refactoring the login_controller