added logoutAppUser and logoutAppUserAsync method