refresh chat messages after logging in