Migrate to manual form validation.

Login and Registration forms are now reimplemented using manual form
validation instead of a form library.

Also introduce header partial, which will eventually contain the menu.