connection validation