Login/Logout toggle and permissions based display of navbar buttons