Did form validation for Register.xhtml