fix bug: New client logging in would trigger sending message buffer to every client