Added the delete all message functionality