added check for author in question answering