fixed error of ihttpmodue by declaring and implmenting the functions