Logout integrated to the UI