redis session and access counter using socket.io