Added a logout option