Add trace on error for user.rb