added names and stop client from quitting after connection closes