implemented navbar and search