adding search to index page