added user logging