fixed bug in getEventsForUsers