database now includes events, users, and invited