added a logout option