Added search functionality on index page