<h1>Login</h1>
<% if (message && message.length > 0) { %>
  <div class="alert alert-danger">
    <%= message %>
  </div>
<% } %>
<form action="/login" method="POST" class="panel">
  <div class="form-group">
    <label for="email">Email:</label>
    <input type="email" id="email" name="email" required>
  </div>
  <div class="form-group">
    <label for="password">Password:</label>
    <input type="password" id="password" name="password" required>
  </div>
  <button type="submit" class="btn btn-primary">Login</button>
</form>
<p>Don't have an account? <a href="/register">Register</a></p>
<p><a href="/forgot-password">Forgot password?</a></p>