Added some session stuff