proper handling of draft/deleted posts for saveToDB function
token endpoint defined in config file