changes to home view
changes to registration model
rework the registration model, working with db inserts