modified nav bar with conditionals