now gets root url from web.config.