Added check for duplicate messages

Checks if the same client has entered a message before with the same
content.