Introduce Validation

The registration form now appropriately validates the form fields.