added method to get all events by user id