First version of registration form validations