Switched back to nav bar code in each page for functionality