Please reason step by step, and put your final answer within \boxed{}.
If the line $y=\frac{1}{3}x+b$ is a tangent line to the curve $y=\ln x (x>0)$, then the value of the real number $b$ is \_\_\_\_\_\_.
user