Made addNewUserLogEntry() return the ID of the new log entry to be more useful