Two main issues happening: 1 — Upon refreshing the page, sometimes (for an unknown reason) a chat unreadCount is set to 0 even though the markRead() is never called 2 — When an user is disconnected from chat and receives a new message from another user, their unreadCount is not increased