new enum for connection status
library for Json