An example of nodejs server with on page auth with mongodb and angularjs+html+bootstrap