Define Users, Roles and Tenants

Add function to define users, roles and tenants.