added Tenants function and removed the tenant name/id requirement for authentication