user controller optimisation