Logout outside mainactivity