I am trying to prove the following theorem, but I Feel like I am missing a bridge between my reasoning and the conclusion. I posted this question and deleted it because someone edited it incorrectly (he/she put $a^{\phi(n)-1}-1$ instead of $a^{\phi(n)}-1$ and the answers were just corrections of the false edit. Any help is greatly appreciated, thank you!
Theorem: If $a$ is an integer coprime to $n$, then $a^{\phi(n)}-1$ is divisible by $n$, that is, $a^{\phi(n)}\equiv1\pmod n$. ($\phi(n)$ is the Euler-Phi function)
Proof:
$\phi(n)<n$ is the number of numbers coprime to $n$ with $n\in N$
Those numbers form an abelian multiplicative group of order $\phi(n)\in N$
So $\forall{a\in G_{\phi(n)}}$ (the multiplicative group) we have $a^{\phi(n)}\equiv1\pmod n$
Globally, it's fine. A few notes: