some session stuff done