Set the base url in service