Admin permission stuff
Fix logout.