added socket.io client for displaying temperature and light level