Added ability to get list of articles from database