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

Login or Register

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