<% if (typeof(session) !== "undefined") { %>
Logged in as <%= session.username %>
Dashboard
Change Password
Enable 2FA
Logout
<% } else { %>
Login
<% } %>