added strong parameters for message objects