check pwd and pwd_re
showAlert