// password requirement
function checkPasswordReq (pwd) {
  if (pwd.length < 8) {
    isBest = false
  } else {
    isBest = true
  }
  return isBest
}