Registration form validation and wiring to backend.