Simple register form validation