Added password reset methods to the user model