transfer class object with Session