public static synchronized boolean allowcateUser(Object instance,
			Object[] users) {
		for (int i = 0; i < users.length; i++) {
			if (users[i] == null) {
				users[i] = instance;
				return true;
			}
		}
		// could not allocate space for user
		return false;
	}