Adding validation to password reset pages