changes to user.rb to get assigned to populate correctly