add client autoconnect feature