public void LoginVerification() throws IOException {
		this.response.setContentType("text/html;charset=utf-8");
		this.response.setCharacterEncoding("UTF-8");
		userName = request.getParameter("userName");
		password = request.getParameter("password");
		System.out.println("we get the parameter" + userName + "!!!" + password);
		int result = checkUser();
		if (result!= 0)
		{
			System.out.println(" exists");
			JSONObject jsonObject = new JSONObject();  
	        jsonObject.put("result", "success");
	        jsonObject.put("storeId",result);
	        jsonObject.put("userId", userId);
	      
	        try {  
	            this.response.getWriter().write(jsonObject.toString());  
	        } catch (IOException e) {  
	            e.printStackTrace();  
	        }  
		}
		else
		{
			System.out.println("not exists");
			JSONObject jsonObject = new JSONObject();  
	        jsonObject.put("result", "failure");
	        jsonObject.put("storeId",result);
	        jsonObject.put("userId", userId);
	      
	        try {  
	            this.response.setCharacterEncoding("UTF-8");  
	            this.response.getWriter().write(jsonObject.toString());  
	        } catch (IOException e) {  
	            e.printStackTrace();  
	        }  
		}
		
	}