Removed logout loop...for now.