Added reference to User.js
Changes to support mongoose