adds logging of the user connections