refactor(logging): only log audit to mongoDB when the connection string is present in config
chore: update dependencies