finished redis configuration