refs #Task8272 refactoring users_controller.rb
Merge pull request #36 from NguyenHue/task8272

refs #Task8272 refactoring users_controller.rb
refs #8276