newest changes to the register view, still need to add html post