Index writer changed for author. implemented ur logic to add boolean
check for author