modified the post name generation
added the haveTermInDatabase and seeTermInDatabase methods