Fixed show views and controller code
Updated index