Added flash message when a new message is posted