added exit command to client