Change to redirect
Rename getUrl to getEwsUrl
Enable to get EWS URL