public void loadUtilizatori() {
		try {
			DocumentBuilderFactory factory = DocumentBuilderFactory
					.newInstance();
			DocumentBuilder builder = factory.newDocumentBuilder();
			Document document = builder.parse(ClassLoader
					.getSystemResourceAsStream("Utilizatori.xml"));
			admins = new ArrayList<Administrator>();
			elevi = new ArrayList<Elev>();
			profesori = new ArrayList<Profesor>();
			secretari = new ArrayList<Secretar>();
			NodeList nodeList = document.getDocumentElement().getChildNodes();

			for (int i = 0; i < nodeList.getLength(); i++) {
				Node node = nodeList.item(i);
				if (node instanceof Element) {
					// may need other method
					String name = node.getNodeName();
					switch (name) {
					case "admin":
						loadAdmin(node);
						break;
					case "profesor":
						loadProfesor(node);
						break;
					case "elev":
						loadElev(node);
						break;
					case "secretar":
						loadSecretar(node);
						break;
					default:
						break;
					}
				}
			}
		} catch (Exception ex) {
			ex.printStackTrace();
		}
	}