added logout functions, fixed FrameChooserMenu includes;