fixed logout with showmenu=false