message controller + schema changes (message.participantid is now nullable)