In the auth.svelte from svelte-motoko-starter, I see that I can call backend method with :
$auth.actor.myMethod()
However, it seems to work if the person is logged or not logged. Is there a way to allow call only if the person is logged, and what is the good implementation ? Sure, I can hide button and all interface that should not be available for a logged out user… But I want to understand.