Added logout support and nav bar