I apologize for the delay in responding.
Use one method or the other method, their is no best practice for this yet
Does this mean that there is not yet a function to display only to specific users?
Not sure what you are asking here, is it working or not working?
My test extension shows it’s working fine/as expected.
I did not post the code as is, but modified it.
I will try to rebuild this one from scratch again.