add redis credentials into __init__ method