<% IF not session.logged_in %>
log in
<% ELSE %>
log out
<% END %>
<% site_name %>
<% IF msg %>
<% msg %>
<% END %> <% content %>