write the homepage