using config file to get the base url