initial code for homepage.