change webview url, refactor restclient