Added query to retrieve events of friends