add get/post methods