updated register and home page