add redis handler
add handling for redirect
modify config.ini