add reg form validation