add redis and mongodb