set switchable URLS for server, login working