exports.delete = function *(hid) {
  const id = +hashids.decode(hid)
  if (!isFinite(id)) return false
  const user = yield models.users.findOne({ where: { id: id } })
  return yield user.destroy()