Add basic database logging of connection