Add search functionality on the index page