I have a strategy in Samuelson model with zero safe rate defined as $$Z_t^{\Pi}=\frac{X_t^{\Pi}}{X_t^{\rho}} \quad \quad (1)$$ where $$\frac{dX_t^{\Pi}}{X_t^{\Pi}} = \mu \pi dt + \sigma \pi \ dW_t \quad \quad (2)$$ $$ \frac{dX_t^{\rho}}{X_t^{\rho}} = \mu \rho dt + \sigma \rho \ dW_t \quad \quad (3)$$
what gives the following dynamic $$\frac{dZ_t^{\Pi}}{Z_t^{\Pi}} = (\mu -\sigma^2 \rho )(\pi - \rho) dt + \sigma (\pi - \rho)\ dW_t \quad \quad (4)$$
To prove that $\rho=\frac{\mu}{\sigma^2} $ is the optimal strategy for the $$\max_{\Pi} E [ logX_T^{\Pi}] \quad \quad (5)$$
Using (1), logarithmic property, Jensen's inequality and supermartingale property I can derive the below inequality
$$ E \big{[} log(X_t^{\Pi}) \big{]} \leq E \big{[} log(X_t^{\rho}) \big{]} \quad \quad (6)$$
The question I have is how the inequality (5) implies that the optimal strategy is $\rho=\frac{\mu}{\sigma^2} $?