adding the METHODs to the endpoints