{#if authChecked} {#if userProfile && page.url.pathname !== '/login'} {/if}
{@render children()}
{/if}