Updated logOutAppUserForToken