Adding index method to controller and index.html.erb to view