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