Updating authors to use mongoose