edited bookQueryController