user.rb model configured