added logging to the AUDIT API