Login Logout

Login Logout

Hi all,
I want to create a single login and logout button. How can i achieve this? Is it possible i use reaction matrix, if can which condition i should create.

Thanks