Participant status

A chery-pick + rebase of @lotze's work in #116. 
I'm not sure how I would obtain the participant id to pass into this function if I'm using Vanity's cookie identification system.  Can anyone provide advice on how to achieve that?