Added RegisterUser command and handler.