Use websockets in api and update dungeon popup controller