validation to the password change page