modified the models files and routing.js