fixed admin logout bug