back-end implementation for forget password and change password for current user.