validate check for reset passwd