renamed validateProfile to validate on Profile object