@OnOpen
    public void onOpen(Session userSession) throws IOException {
        chatroomUsers.add(userSession);
        this.userSession = userSession;
        Iterator<Session> iterator = chatroomUsers.iterator();
        while (iterator.hasNext()) {
            (iterator.next()).getBasicRemote().sendText(buildJsonUsername());
        }
    }