added user.class
add db.class
add session.class
update 404 template
update template.class->render method