Use flash instead of render_message in lastuser_error.
Corrected a few errors in /event/<event>/sync
Removed potential points of failure in participant sync, viz. unique constraint on participant email is now across event_id, participant.email & participant.name, and length of participant.phone is now 25.