Client login logout feature