added url parameter showLogout to supress logout button (set to false)