{#if $authStore.isLoading}
Loading...
{:else if $authStore.isAuthenticated && $authStore.user}
{$authStore.user.name || $authStore.user.email}
Logout
{:else}
Sign In
{/if}