added index view and routing to it