auth_homework

The homework is buggy. I get the following error:

 throw new Error(this.name + ".hasMany called with something that's not an 
          ^
Error: user.hasMany called with something that's not an instance of Sequelize.Model.

No idea what this means.