added the register and homepage