Update controllers.js

Updated api for score and user