making logout not admin dependent