fixed admin logout issue