[% IF user %] Logged in as [% link_user(user) %] [% ELSE %]

[% END %]