Encode for confirmPassword was missing.