{if logged_in}

Logged in as {username}

{if:else}

Logged out

{/if}