Correct log message for creating a new user and editing an existing user

Fixes #839