better security for edit and delete messages.