docs: function hashPassword( record ) {
      return new Promise( (resolve, reject) => {
          if(!record) {
              return reject('record not defined');
          }
          if(!record.password) {
              return reject('record.password not defined');
          }
          bcrypt.genSalt(saltRounds)
          .then( salt => bcrypt.hash( record.password, salt ) )
          .then( hash => {
              record.password = hash;
              resolve(record);
          });
      });
  }