Let $(X,\langle\cdot,-\rangle)$ be a unitary space, such that for any linear and continuous functional $\varphi:X\rightarrow \mathbb{K}$, there exists $x_0\in X$, such that $\varphi(x)=\langle x,x_0\rangle$ for all $x\in X$. Show that X is a Hilbert space.
My first idea was using, somehow, the Riesz representation theorem, I was looking for converse observations but without any success.
Please help.