added debug mode for admin panel