public void insert() {
		String user_id, user_password, restaurant_name;
		double longitude, latitude;
		try {
			user_id = request.getParameter("user_id").trim();
			user_password = request.getParameter("user_password").trim();
			restaurant_name = request.getParameter("restaurant_name").trim();
			longitude = Double.valueOf(request.getParameter("longitude").trim());
			latitude = Double.valueOf(request.getParameter("latitude").trim());
		} catch (Exception e) {
			jsonObject.put("RC", RC.PARAMETER_ERROR);
			return;
		}

		UserInfo userInfo;
		try {
			userInfo = new UserInfoDao().getById(user_id);
		} catch (Exception e) {
			jsonObject.put("RC", RC.SQL_EXCEPTION);
			return;
		}
		if (userInfo == null) {
			jsonObject.put("OC", OC.UNKNOWN_USER_ID);
		} else if (!userInfo.getUser_password().equals(user_password)) {
			jsonObject.put("OC", OC.WRONG_PASSWORD);
		} else if (userInfo.getUser_type().equals("customer")) {
			jsonObject.put("OC", OC.INSUFFICIENT_PRIVILEGES);
		} else {
			RestaurantInfo restaurantInfo = new RestaurantInfo();
			restaurantInfo.setRestaurant_name(restaurant_name);
			restaurantInfo.setLongitude(longitude);
			restaurantInfo.setLatitude(latitude);
			restaurantInfo.setUser_id(user_id);

			try {
				jsonObject.put("OC", new RestaurantInfoDao().Insert(restaurantInfo));
			} catch (Exception e) {
				jsonObject.put("RC", RC.SQL_EXCEPTION);
				return;
			}
		}
	}