record author in DB