Added changes in controller to remove the print statements