Modified method named 'buildHomePageContent' to take a parameter which will have all the page content data.