nav bar placed and pages routed properly