added online/offline checks for report submission