check of password length