Add support for websockets and update the UI on creating and deleting devices