almost finish login process