{#if typeof globalvars.user !== 'undefined'}

Welcome {globalvars.user.name}

{/if}