load server url dynamically