config sessions in socket.io and redis