If you refresh the services and the user is logged out, update the services as disconnected.
When you log out, update the services as disconnected.