putting the api url into a config file