Added nav bar functionality