const cryptPassword = bcryptSalt => user => {
  if (user.password !== user._previousDataValues.password) {
    return bcrypt.hash(user.password, bcrypt.genSaltSync(bcryptSalt)).then(hash => {
      user.password = hash;
    });