protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
		String userid = request.getParameter("userid");
		System.out.print(userid);
		String name = request.getParameter("username");
		String password = request.getParameter("password");
		String identity=request.getParameter("identity");
		String email=request.getParameter("email");
		String authority="0";
		if(identity.equals("Administrator")){
			authority="1";
		}
		if(identity.equals("Reporter")){
			authority="2";
		}
		if(identity.equals("Developer")){
			authority="3";
		}
		if(identity.equals("Guest")){
			authority="4";
		}
		UserManager um = new UserControl();
		um.edit(userid, name, password, email, identity, authority);
		request.getRequestDispatcher("showalluser?type=All").forward(request, response);
	}