write the home page