added session object back in