add userid for relay, untested