add linkJID and unlinkJID methods