refactored to remove circular dependency in utilsService and activityfeedservice