Modified routes to add get/post requests