set the url on server connect to assist refresh