when checking for whether the requester is the author, treat the author field as an object rather than a number (id)