Tweaked ServerController, fixed json problem on /socket page as well as changed to correct response api