ticket#2: get the status of connection and show alert  view if connection i unavailable