introduce __init__ for Session