add index function to article controller