Added controller file and displayed the data