add redis config and redis session