fixed admin route and added env vars