sorted out baseUrl, now in app global context