Added password length validation