Added method index for HomeController