<% if (error) { %>
<%= error %>
<% } %> <% if (success) { %>
<%= success %>
<% } %> <% if (mode === 'register') { %>
<% } else { %>
<% } %>