logout function added for mars ui