implemented baseurl usage