Changed indexController to properly display image