removed dubious session caching code