Update MainSearchController.js

Console Logging