Add debug mode
Do not show login popup right after logout
Add a login button (to log in back after logging out)