Added option to delete message from database