minor refactor-cleaning up articles controller