In triangle $ABC$, $\angle A=90^{\circ}$ and $M$ is the midpoint of $BC$. Point $D$ is chosen on segment $AC$ such that $AM=AD$ and $P$ is the second meet point of the circumcircles of triangles $\Delta AMC,\Delta BDC$. Prove that the line $CP$ bisects $\angle ACB$.