Added delete sensor data call. Removed some debug statements