finish the homepage