handle the reset password link just like the set password link