internet checks and proper error messages