Updated URL to contain the application rootpath if set