Logout when get errors
Update class Output
Cleanup
Fix mistakes of Login