creates new method in articles controller