Register form

Better bootstraping of the registrating form.