reducing duplicate code when handling user revocation event