Added password reset functionality.