refactored users controller spec