Implement password reset functionality.