added log out for the nav bar