Explicitly check for `user is not None` here too.