Changed users_controller to send back error in login