public void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws IOException, ServletException {
		HttpSession session = req.getSession();
		if (session.getAttribute("id") != null) {
			session.invalidate();
			session = req.getSession();
			resp.sendRedirect("/login");
		}else{
			resp.sendRedirect("/home");
		}
	}