updated web.config, simplified url handling