Check internet connection on sign in pushed