Fixed registration (again)

moved HTML to bottom of page to allow Header() to work