finally figured out how to make the participant model save to local storage and be used by other libraries