Implemented logout and added links to nav bar