working on registro, improved form validation