Login status check modified. Internet status checked when entering the app