complate client-side for reg/signin/signout