fixed admin user functionality