@RequestMapping(value = "/users/{eventId}")
	public @ResponseBody List<User> eventManager(@PathVariable String eventId, Model model,
			Principal principal) {
		List<User> list = null;
		try {
			list = eventRepository.getParticipants(Integer.parseInt(eventId));
		} catch (EventNotExistsException e) {
			return null;
		} catch (EmptyResultDataAccessException e) {
			return null;
		}

		if (list.size() == 0)
			list = null;
		return list;
	}