Fixes #142

Also tweaked how logout works removing the responsibility for cleanup from menusheetview