code: function _createUser(){
      var excludedFields = ['name', 'screen_name', 'profile_image'],
          nameparts = this.socialUserInfo.name.split(' '),
          newUser = {
          role: 'external',
          identities: {
              twitter: {
                  id: this.socialUserInfo.id_str,
                  accessToken: this.options.oauth_token,
                  accessSecret: this.options.oauth_token_secret,
                  screen_name: this.socialUserInfo.screen_name
              }
          },
          linkedidentities: ['twitter'],
          profile: {
              picture: this.socialUserInfo.profile_image_url
          },
          enabled: true,
          email: '',
          displayname: this.socialUserInfo.screen_name,
          firstname: nameparts[0],
          lastname: (nameparts.length > 1) ? nameparts[1] : ' '
      };
  
      _.each(profileFieldsArr, function(field){
          if(excludedFields.indexOf(field) === -1){
              newUser.profile[field] = this.socialUserInfo[field];
          }
      }.bind(this));
  
      return db.users.insert(newUser);
  }
docs: Function will create a user if it doesn't exist. If the same email is found then we will throw an error. Because we should never "create" a new user with an email address that is already in the system. Accounts like this should be "linked".