Add client-side required field validation

Add HTML5 required attribute to the registration page,
to make it harder to accidentally register null:null