Writer: a person engaged in writing books, articles, stories, etc., especially as an occupation or profession; an author or journalist.
Author: a person who writes a novel, poem, essay, etc.; the composer of a literary work, as distinguished from a compiler, translator, editor, or copyist.