- fix problem when a userid is passed on the JOIN api, it overwrites the internal userid