Build the connection url according to the user JID