generate articles controller