Updated enrollment page to use api scripts; needs testing and test data in DB