fixed associations and seeded database
added logic to seed file