fix for previous messages and usernames appearing on relogin