basic chat server works