@Override
	public void createElection(String name, String typeID) {
		if (context.getCurrentUser() != null
				&& context.getCurrentUser().isElectionManager()) {
			context.getAdminTools().createElection(
					context.getCurrentUser(), name, typeID);
			context.setCurrentElectionID(name);
		} else
			throw new RuntimeException(
					"Illegal action. Current user is not an Election Manager");
	}