check for reset password link valid in template