Added auto connection to client