Add provider getter in commands service
Handle better connection/deconnection. No more page reloads.