fix for session being wiped out since Session.restore was called twice on a request coming in(second time clears it out)
Merge branch 'sessionfix' into latest
try to fix the 404.txt issue exception