It is known that $\odot O$ is the circumcircle of $\vartriangle ABC$ wwith diameter $AB$. The tangents of $\odot O$ at points $B$ and $C$ intersect at $P$ . The line perpendicular to $PA$ at point $A$ intersects the extension of $BC$ at point $D$. Extend $DP$ at length $PE = PB$. If $\angle ADP = 40^o$ , find the measure of $\angle E$.