protected void processRequest(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
        response.setContentType("text/html;charset=UTF-8");
        try{
           for (User user : Users.getInstance().getUsers()) 
            {
                if (user.getPseudo().equals(request.getParameter("pseudo")) && user.getPassword().equals(request.getParameter("password")))
                {
                    request.getSession().setAttribute("pseudo", user.getUserID());
                }
            }
           getServletContext().getRequestDispatcher("").forward(request, response);
        }
        catch (Exception e)
        {
            getServletContext().getRequestDispatcher("/erreur.jsp").forward(request, response);
            e.printStackTrace();
        }
    }