added connection status rendering