working add to author to db