add internet connection check when you load the app for the first time