rafactor users controller tests