Log in button is disabled until loading is done and message comes up when no network connection is available