Implemented updating of users in the chatroom for server and client