add verify reset code to client api