Check for internet connection at the Login