added groupby to attendees-model (front)