create RequestBuilder to build register request.
refactor RequestBuilder