fixed error in user.rb