added logic to save session in redisStore