Move user model to db.js