all logout functionality works