implement simple logout