logout and nav bar