do register form validation