create flash messages and publish them to pubnub