protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		HttpSession session = request.getSession();
		String type = request.getParameter("type");
		HttpRequest req = Enum.valueOf(HttpRequest.class, type.trim());
		System.out.println("importantaffair " + req);
		String url = "2.0/index.jsp";
		System.out.println(session.getAttribute("user"));
		if(session.getAttribute("user") != null && session.getAttribute("user").equals("admin")){
			switch (req) {
			case addworldnode:
				IprocessHttpRequest iRequest = new WorldController();
				System.out.println("addworldnode process");
				iRequest.process(request);
				url = request.getHeader("Referer");
				response.sendRedirect(url);
				break;
			default:
				break;
			}
		}else {
			response.sendRedirect(url);
		}
	}