working on chat server