minor change to correct bug with user.id and Message constructor