session object corrected