improved admin logout