make session dir
fix bugs in controller class __call