fix err
add redis for sending socket messages