Added redis and fixed the small mistake for network