make baseUrl and baseUrlApi to settable attr instead of const