user controller bug fixed