Implemented reset password controller.
Implement error handling to login.