protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
		JSONObject jb = new JSONObject();
		String userId = request.getParameter("userId");
//		String eventName = new String(
//				request.getParameter("eventName").getBytes("ISO-8859-1"),"UTF-8"); 
//		String calFrom = request.getParameter("calFrom");
//		String calTo = request.getParameter("calTo");
//		String locationName = new String(
//				request.getParameter("locationName").getBytes("ISO-8859-1"),"UTF-8");
//		String locationCoordinate = new String(
//				request.getParameter("locationCoordinate").getBytes("ISO-8859-1"),"UTF-8");
//		String decription = new String(
//				request.getParameter("decription").getBytes("ISO-8859-1"),"UTF-8"); 
//		String updateTime = request.getParameter("updateTime");
//		String targetGroup = request.getParameter("targetGroup");
		try{
			connection = new Mongo();
			scheduleDB = connection.getDB("schedule");
			userCollection = scheduleDB.getCollection("user");
			DBCursor cur = userCollection.find();
			JSONArray strangersArray = new JSONArray();
			int i = 0;

			while(cur.hasNext() && i <20){
				DBObject stranger = cur.next();
				String strangerId= stranger.get("_id").toString();

				//strangersArray.add(stragerObject);
				DBCollection groupCollection = scheduleDB.getCollection("group_" + userId);
				DBObject groupQuery = new BasicDBObject();
				groupQuery.put("groupName", "All friends");
				groupQuery.put("member", strangerId);
				DBCursor cur2 = groupCollection.find(groupQuery);
				if(!cur2.hasNext() && !strangerId.contentEquals(userId)){
					String strangerName = (String)stranger.get("username");
					String strangerImage = (String)stranger.get("image");
					JSONObject stragerObject = new JSONObject();
					stragerObject.put("strangerId", strangerId);
					stragerObject.put("strangerName", strangerName);
					stragerObject.put("strangerImage", strangerImage);
					strangersArray.add(stragerObject);
				}
				i++;
			}
			jb.put("result", Primitive.ACCEPT);
			jb.put("strangersArray", strangersArray);
			
		}catch(MongoException e){
			jb.put("result", Primitive.DBCONNECTIONERROR);
		   	e.printStackTrace();
		}
		response.setCharacterEncoding("UTF-8");
		PrintWriter writer = response.getWriter();
		String jbString = new String(jb.toString().getBytes(),"UTF-8");
		writer.write(jbString);
		writer.flush();
		writer.close();
	}