code: function (data) {
      console.log('Loading the session.');
      app.me = new Spot(data);
  
      if (data.sessionType === 'server') {
        app.me.connectToServer(data.address);
      } else if (data.sessionType === 'client') {
        // add data from the session file to the dataset
        data.datasets.forEach(function (d, i) {
          app.me.datasets.models[i].crossfilter.add(d.data);
          app.me.datasets.models[i].isActive = false; // we'll turn it on later
        });
        // merge all the data into the app.me.dataview
        // by toggling the active datasets back on
        data.datasets.forEach(function (d, i) {
          if (d.isActive) {
            app.me.toggleDataset(app.me.datasets.models[i]);
          }
        });
      }
      // and automatically go to the analyze page
      app.navigate('/analyze');
    }
docs: [description]
  @param  {any} data [description]