generate password button now recognizes password length