[WIP][issue #190]implementation has been modified to make modify the invitation message