* replaced apiUrl with CFG.apiUrl