logout feature finished