built delete route, refactor add route method