Create session when a vm operation is executed