remove unused imports
Temporary fix admin session cookie issue
TODO create more robust session middleware