add missing license header in controllers.js