Fix user controller bug.