[% IF c.user_exists %] Logged in as [% c.user.username %]. Redirecting to [% redirect %] in 5 seconds. [% ELSE %] [% IF c.flash.error %][% c.flash.error %][% END %] [% IF c.flash.message %][% c.flash.message %][% END %] [% END %]