Added admin checks and removed leftover debug output