@Override
	protected void doPost(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		HttpSession session = req.getSession();
		if (session.getAttribute("id") != null) {
			// User is logged in
			req.getRequestDispatcher("/WEB-INF/project.jsp").forward(req, resp);
		} else {
			req.getRequestDispatcher("/WEB-INF/index.jsp").forward(req, resp);
		}
	}