Changed Fragments into supportedFragments, added logout button