web: logout function is added.