Updated index controller and view