<% if (user?.admin){ %>
You are admin, and you can go your page!
<% } %>
<% if (user){ %>
<%= user.name %>
Logout <%=(user.theme === "default" ? "black" : "default" ) + " mode" %> <% } else { %> Login Register <% } %>