Initial work on registration form validation