Move session.js from lib to source/middlewares
Remove it, it is not used anymore