Session and LoginDialog modules

You can use the session and LoginDialog APIs to easily manage user sessions and login dialogs with the JavaScript library.