Added nav bar funcitonality