creates chat server