add cookie and session
add session support
add session support too!
mongodb connect suppport and template file header and footer