I was reading about the formulation of mechanics in special relativity and found that the action for a massive free point-particle as $$ S = -mc\int_a^b ds $$ So, I did a few observations, ie. $$ S = -mc^2 \int_a^b dt $$ and being $$u_{\mu}u^{\mu} = c^2$$ I wrote the action as $$ S = -\int_a^b m u_{\mu}u^{\mu} dt $$ which in my opinion resembles more to the classical kinetic energy.
Now, I never saw something like this in a book or text on internet. Everyone seems to work with the classical speed and the old good Euler-Lagrange equations with time as parameter.
So my question is: it's possible to derive the correct equations of relativistic dynamics from this action?
Attempt of solution
The action is $$ S = \int_a^b L(x,v,t) dt $$ and it should be Lorentz invariant (the action or the lagrangian?). Now, changing the parametrization of the path with $d\tau$ instead of $dt$ shouldn't change the integral (with the condition that everything changes accordingly). So I rewrite the action as $$ S = \int_{\alpha}^{\beta} L(x_{\mu}, \frac{dx_{\mu}}{d\tau}, \tau)d\tau $$ and do the variation of this and minimize it: $$ \delta S = \int_{\alpha}^{\beta} \left[ \frac{\partial L}{\partial x_{\mu}}\delta x_{\mu} + \frac{\partial L}{\partial u_{\mu}}\delta u_{\mu}\right] d\tau = 0 $$ Then, using the old manipulations it yields $$ \frac{d}{d\tau}\left( \frac{\partial L}{\partial u_{\mu}} \right) - \frac{\partial L}{\partial x_{\mu}} = 0 $$
This applied to the lagrangian I wrote $$ L = m \eta_{\mu\nu}u^{\mu} u^{\nu} $$ seems to yield the correct 4-impulse $$ p_{\nu} = \frac{\partial L}{\partial u_{\mu}} = m \eta_{\mu\nu}u^{\nu} $$
but the hamiltonian (total energy in the text I'm reading) is zero:
$$ H = p_{\mu}u_{\mu} - L = mu_{\mu}u^{\mu} - mu_{\mu}u^{\mu} = 0 $$
I think I did wrong the derivation of the Euler-Lagrange equations, but not sure.