dustjs serverside templating added

- in memory db for login used