add scopes to article and category models