login process almost complete