Add user login to AR plug-in example API.