Session enabled API building
Added support for Session Manager middleware that works via HTTP headers.
To enable it, just add the following into your index.js:
const sessions = require('./sessions/index');
/*sessions.allowedResources = [
...sessions.allowedResources,
'/echo'
];*/
sessions.init();
Uncomment lines to allow more API endpoints to be accessible without authentication.
Basic login, logout, and signup operations are added as well.