added js templating
login modal page