Added session stuff