% my $userControls; # TODO: once implemented, put username + profile link first if ($c->session('is_auth')) { my $username = ''; $userControls = "logout"} else { $userControls = "login | register"}; %> <%== $c->board_name %> <%== $userControls %>