added response handling for the rest of the api verbs