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