refactoring DAO with sequelize