adding http methods