add search field to main page and category page