Its for the developer to handle the user logging in / out

    Janus.on('login', loggedIn);
    Janus.on('logout', loggedOut);