# Users

## Login

This method should be called whenever a user Registers or Signs In via OneID, after the call to create or update the user in ShowMS.

Thus the flow is:

OneID Success -> ShowMS Success -> Nonstop Success -> Control Returned to Client

###### Default code example

`var userInput = new UserInput('Dave', 'e363f442-f68a-4688-8465-b43b220bea11', 'dave@stormideas.com', '1968-06-10');``Nonstop.default.login(userInput);`

Login

## Logout

This method should be called whenever a user logs out of OneID.

###### Default code example

`Nonstop.default.logout();`

Logout

## Is Connected

You can ask whether there is a currently logged in user by calling this method.

###### Default code example

`Nonstop.default.isConnected()`

###### Current Status

`false`

## Current User

You can access the currently logged in user by calling this method.

###### Default code example

`Nonstop.default.currentUser()`

###### Current User

`{}`