@Get
	public Set<Intervention> readAll() {

		Set<Intervention> interventions = null;

		String userkey = (String) getRequest().getAttributes().get("userid");

		if (userkey == null)
			return null;

		User target = null;

		try {

			long userid = Long.valueOf(userkey);

			EntityManager em = emf.createEntityManager();

			target = em.find(User.class, userid);

			if (target != null) {
				interventions = target.getIntervention();
			} else {
				return null;
			}

		} catch (Exception e) {
			System.out.println(e);

		}

		return interventions;

	}