continued modifications to chatserver