moved return url to configuration file