add http client functions for reset password and update user