client login process