working on the server that communicates to the arduino