restore user.rb model