Finsh login/register/logout system