Moved to sequelize for db access