built navbar and searchbar