add an end point for getting events by group id