auth client added register logic