In $\triangle ABC$, $\angle ABC$ is a right angle. A circle with its diameter along $BC$ intersects side $AC$ at point $D$. If $AD = 1$ and $BD = 4$, find the length of $CD$. Let's think step by step and output the final answer within \boxed{}.
user