fix user controller tests