Cleaned obsolete dependencies of UserController.

RSpec: 986 examples, 0 failures, 77 pending
RuboCop: 248 files inspected, no offenses detected