@Override
	public Set<ServerEndpointConfig> getEndpointConfigs(Set<Class<? extends Endpoint>> scanned) {

		Set<ServerEndpointConfig> result = new HashSet<>();

		if (scanned.contains(UserEndpoint.class)) {
			result.add(ServerEndpointConfig.Builder.create(UserEndpoint.class, "/socket/listen").build());
			result.add(ServerEndpointConfig.Builder.create(WatchEndpoint.class, "/socket/watch").build());
		}
		System.out.println("WebSocket endpoints initiated");
		return result;
	}