Fix user model in notes.js