Update public activities controller to get data from entities.