Sorry to know that you are facing issues with logging out.
If you can try clicking on the right of the notification (bell) icon, it should show the logged in account and allow the option to log out.
Normally we have a manage account icon to the right of the notifications icon