add message detail and delete feature