make chat server program prettier