Auth manager not initialized
Use d=(x2−x1)2+(y2−y1)2d = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2}d=(x2−x1)2+(y2−y1)2.