Changed the base controller, apicontroller and view model to use the Tenant object which has the host and id instead of just the host.