api: added config varibale to change base api url