Revert "isAdmin check in /admin works"

This reverts commit 0d9427d8bf2445c66ae05b5d8dd208cbd8431ed0.