In triangle ABC, AB=AC. Let M be the point on BC such that AM bisects angle BAC. Prove M is the midpoint of BC and AM is perpendicular to BC.