Added debug messages to admin