add user identity mediation logic for hidden users