add search functionality on search page.