made separate delete routes using a post command