add reset password client logic