changing the way the root url is configured
fixing port assignment in google auth