Changed base url to prevent unnecessary redirect