Documentation for logout using the API

Some documentation for logout using the API.