Add check to make sure cookie is there

When adding a new participant
Merge pull request #317 from adamrp/fix_add_participant_error_thing

Add check to make sure cookie is there