<%- include("./partials/header") %> <% if (authenticated) { %>

Welcome <%= user.name %>

Logout
Go to members page <% if (user.type == "admin") { %> Go to admin page <% } %>
<% } else { %>
Login

or

Signup
<% } %> <%- include("./partials/footer") %>