const redis = require('redis').createClient(),
session = require('express-session'),
RedisStore = require('connect-redis')(session);
app.use(session({
store: new RedisStore({host: 'localhost', port: 6379, client: redis, ttl: 3600}),
secret: 'md5q',
}));