modified behavior when logging with invalid user_id