Added internet connection state (now, user cant run functional part without internet)