Update users_controller.rb

to solve runtime error