Beginning of coding the connexion