WIP: refactoring send_notifications to work with user profiles instead of users.