update logoutHandler, create php_module dir, add reinit script