fetch tags from db