Finish adding uniqueness constraints to author and book