refactor create method in articles controller