Added search function on index page