recent activity logic for aggregator homepage