Completely disabling adding new user, save security audits to custom database

hi everybody,

I recently set up a new openfire server with a custom database but I am new to openfire and have two questions (searched forum for two days found nothing);

1.Is it possible to prevent both user registeration and admin to create new accounts? so only existing users from an existing custom datatable could be join to server.

2.Can I save security audits to custom datatable.

thanks in advance