begin of login/siging