fixed user controller bug