Added logging for user creating and editing.