Check for internet connexion
Create a new record if not found