getLastActivities