we are using the connection callbacks to check if we have connection and inform the user incase  of everything