fixed: removing wrong user when a socket disconnected
tidy server logging