added DURL & appId logic on login page