generating main home page