Refactored users loop and added default null list for user events
Merge pull request #49 from techiev2/events

Refactored users loop and added default null list for user events