minor bug fix
wrong column name (is author_id, not author)
wrong column name (is author_id, not author)
added try/except for duplicate entries