Basic form-structure & validation.

Got familiar withthe code I got to work with. Added a page for
registration and some basic validation of the form fields.