Added function getUrlBase