Added functionality to get user events