token bug fixed temporarily (exchanged token and token_id) and revert invitation api