add reset password function.