Modifying our server code to show sensor readings