change the method to get session
Merge branch 'master' of github.com:uhp/uhp
fix bug