text: var formio = require('../Formio')();
  var Form = formio.Form;
  
  // First authenticate.
  formio.authenticate('test@example.com', 'password').then(function() {
  
      // Create a new form instance.
      var form = new Form('https://myapp.form.io/user');
  
      // Iterate through all the submissions.
      form.eachSubmission(function(submission) {
  
          // Console log the submissions.
          console.log(submission);
      });
  });