Proof (simply connected iff unique homotopy class of paths)

Simply connected $\implies$ unique homotopy class

By path-connectedness, a path exists between any two points.

Suppose $γ$ and $γ'$ are two paths from $x_0$ to $x_1$. Then $γ\cdot γ'\inv$ is a loop based at $x_0$. Since the fundamental group is trivial, $γ\cdot γ'\inv \simeq c_{x_0}$. This implies $γ \simeq γ\cdot γ'\inv\cdot γ' \simeq γ'$.

Unique homotopy class $\implies$ simply connected

Existence a homotopy class of paths between any two points implies path-connected.

There is a unique homotopy class of loops based at any $x_0\in X$. Thus $π_1(X,x_0)$ is trivial.