Create homepage and search result page