worked on sequelize/.sql for switch profile and adapted crud functions to *work* with the new model