Fixing the nav bar
Implemented logout-functionality