added getAllShift by event and attendee functions