refactors users controller spec