Added database and log controllers