add session function
Merge branch 'master' of https://github.com/foright/bootup
add smarty