CheckPassword renamed to validatePassword