Update user.rb

if user install and hash, then need ['name'] key