added logging to admin