proper logged in user logging, API doc fixes