updated the chatserver code to try and instantiate it