auth with protobuf