added audit service and logging.