Developing an auth server