completed check the login