add activities controller implementation