updated controllers.js to include json data (commented out)