add post functionality
Add sensors/:sensor_id PUT method