Added API for password reset