using delete request for destroying devices
removing device logic from route