add some logging, expose user and url from connection