complete the register view