base url is made to have https by default