implemented deletion of all messages