<?DOCTYPE html>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page import="org.academiadecodigo.enuminatti.helloworldspringmvc.utils.Attributes" %>
<%@ page import="org.academiadecodigo.enuminatti.helloworldspringmvc.utils.Routes" %>

<html>
<head>
    <meta charset="UTF-8" />
    <title>${requestScope[Attributes.TITLE]}</title>
    <link rel="stylesheet" href="<c:url value="/resources/style.css"/>">
</head>
<body>
<h1>Welcome ${requestScope[Attributes.LOGGED_USER].username}</h1>
<p><a href="<c:url value="${Routes.LOGOUT}"/>" title="Logout">Logout</a></p>
<p></p>
<p><a href="<c:url value="${Routes.USERS}${Routes.LIST}"/>">Users</a></p>
<p><a href="<c:url value="${Routes.BOOTCAMPS}${Routes.LIST}"/>">Bootcamps</a></p>
