Add a logout action

Signed-off-by: Alan Gardner <alan@armoin.com>
Attaching to API

Signed-off-by: Alan Gardner <alan@armoin.com>
Merge branch 'authentication'