Added password length checks