added logout feature
added logout feature