Fixed bug with internet connection checking on LogIn