added index view page and erb to view