add connection detection on BaseViewmodel (with events!)