add get/post route methods