Making the Navigation Bar Functional