api url moved from config file