public String createForum(String name, User admin) {
		if (!admin.hasPermission(Permissions.CREATE_FORUM) || name.equals(""))
			return null;

		for (int i = 0; i < forums.size(); i++) {
			if (forums.get(i).getName().equals(name))
				return null;
		}
		Forum newForum = new Forum(name, admin);
		forums.add(newForum);
		return newForum.getId();
	}