added websocket support and the automatic refresh of alarms when a new alarm is added