       } else {
              // If not, we need to set the default tenant
              console.log("Unable to find selected tenant in local storage. Try clearing the session.")
            }

            Alpine.store('currentUser', {
              id: "{{current_user.id}}",
              email: "{{current_user.email}}",
              super: "{{current_user.super}}",
              selectedTenant: this.selectedTenant,
              tenants: this.tenants,
              featureFlags: [],
              roles: 