Added support for reading the tag cloud from the database