adding the nav bar with search option