updated seed.rb (database seeding) and fixed db models