set url and baseurl