connectionstate

Adjusted connectionstate to work with adkats webadmin panel.