Fixed issues with /logout commands.