Register form

Better bootstraping of the registrating form.
Merge pull request #30 from SimonHietala/master

Register form