initial code for homepage added