corrected error in user controller