Retrieve user id and send it after handshake