This section describes how to perform login and logout operations using APIs.