Use userID for logging editing events

Sends -1 in cases we have a username but not a userID

Change-Id: I223127722124a92a055e50287d3daf30c0b2d4bd