Backend system to manage tenants, people and databases