start to write the auth server part in nodejs