add prototype of auth server