adding in backend logic for the tag cloud