made api url a confi value