Creation of the session