add trailing slash to base url