added new functionality of getting authors from db not from the local file!