protobuf & gate user manager