<% if(currentUser){ %> Welcome <%=currentUser.username%>! <% } else { %> Welcome! <% } %>

<% if(currentUser){ %>
Go to the app
<% } %>