updated sql statement in getReadingList function