fixed bug where newRoom button doesn't know a json is returned