LiteLib
<% if (user) { %>

Welcome <%= user.name %>

Books <% if (user.role == "admin") { %> Users Dashboard <% } %> <% if (user.role != "basic") { %> Settings <% } %> Logout
<% } else { %>

LiteLib

Sign-In
<% } %> <% if (user) { %> <% if (user.role != "basic") { %>
GitHub
<% } %> <% } %>