fixed bug for cancel/terminate where current user was not being passed correctly for logging