use find_or_create_by instead of create! when inserting new taggings to avoid race conditions