improved crm tracking of lead source at enrollment
strict improvement to the api; added a function to update potentials