Added search bar functionality