Experiment for implementing multiple authentication in node.js