getSession is now static