Added data to the controller and displayed it on a page