learn simple authontication using node.js