last used serverUrl should be stored in localStorage

why not do this in `setServerUrl`