Define and use the baseurl