Added logout feature