doing some session initialization