add redis
app may be nil