Multiple organizations support

@mlu-appear We need to put orgName first in the URL, before "datasync", "logout", "comessage", "heartbeat".

For all methods.