Let $q$ be an odd prime number, such that $p=4q+1$ is also an odd prime. I want to show that the congruence $x^2 \equiv -1 \pmod{p}$ has two (incongruenct modulo $p$) solutions, which are quadratic nonresidues modulo $p$.
I have thought to consider the Jacobi symbol.
We have that $\left( \frac{-1}{p}\right)=\left( \frac{-1}{4q+1}\right)=(-1)^{\frac{4q+1-1}{2}}=(-1)^{2q}=1$.
From this we deduce that $x^2 \equiv -1 \pmod{p}$ has two incongruent modulo $p$ solutions, right?
How do we deduce that the solutions are quadratic nonresidues modulo $p$ ?