dodgy sign-out functionality created