change the archtecher

make log/config/session to be global
run ok

after change archacture