client side hooks - action:connected, action:reconnected, action:disconnected