Added internet connection checking for invite and user adapters