Changed the user references to the user model inside an engine