Generate random message id.
Merge pull request #1 from sbernard31/randommessageid

Generate random message id.
send token on error message.
Merge pull request #2 from sbernard31/sendtoken

send token on error message.