Added search function and display search box