add EJS support
add scripts to templates
add route on server side for user update
organise server side asset pipeline