add a search-box to index and catalog page