alerts user if not connected to wifi