add log and audit tables