Implemented password reset REST api