refactor(cloudfunc) getJoinUrl