added redis expire instead of set for redis compability with older versions