Add reachability for ios
Logout when network becomes unavailable
Better use internet connection instead of domain check
Better error message