added alert for lost network connection