some error handling for revoked token case