Added header to go across to discussion API along with abstraction of API calls