code: function success(domain){
                  if(auth0){
                    //if auth0 then we don't have user storage
                    connection.user = new DomainWrapper(domain); 
                    connection.user.join();
                    sessionPromise.then(resolve);
                  }else{
                    //if auth1 use user class to wrap domain and implement user storage and load user data
                    connection.user = new User(self, domain); 
                    connection.user.join();
                    sessionPromise.then(load);
                  }
                }
docs: if we get success from the registrar on login continue depending on auth level