add search function to home page, and change the show detail page