Create Supervisor instance
var supervisor = new Supervisor({ url });
Initialize the session
supervisor.init({ provider, token });
Start the session
supervisor.start();
Stop the session
supervisor.stop();
Log out
supervisor.logout();