use os user name as user name

and fix multiple reconnect