public String appendToText(String name, String journalID, String text) {
		Journal temp = null;
		for (Journal j : db) {
			if (journalID.equals(j.getID()))
				temp = j;
		}
		if (nurses.contains(name)) {
			if (name.equals(temp.getNurse())) {
				temp.changeText(text);
				log.addEntry(name, temp.getID(), "User added text: " + text);
				return "Text added to journal";
			}
		} else if (doctors.contains(name)) {
			if (name.equals(temp.getDoctor())) {
				temp.changeText(text);
				log.addEntry(name, temp.getID(), "User added text: " + text);
				return "Text added to journal";
			}
		}
		log.addEntry(name, journalID, "User tried to add text \"" + text
				+ "\" to journal without permission.");
		return "Did not add text to journal. Permission denied!";
	}