Added getAppUrl and getuserLocale.