add searchBar functional