Creating the register view and template