if (c.getName().equals("user")) {
c.setPath("/");
c.setValue("");
c.setMaxAge(0);
response.addCookie(c);
c.setPath("/");
c.setValue("");
c.setMaxAge(0);
response.addCookie(c);
request.getSession().removeAttribute("currentUser");
}
request.getSession().removeAttribute("currentUser");
}