{unless isset="$user"}
The "Session" is the standard authentication system. (based on cookie)

Login{unless isempty="$site_register_url"} or Register{/unless}

{unless isempty="$site_destination"}{/unless}
Forgot password?
{if isset="$error"}
{$error/}
{/if}
{/unless}