implement all GET api methods
prepare POST, PUT and DELETE api methods