pass user to client