set up baseurl