Logs the user out of the application
Logout()
In this sample code, the function logs the user out of the application: