updated urls and added index view