Restructured logout procedure
Manual merge of meteor-client-change-logout into prototype-metor-client