Added a base_url to the api