Server code handling user events now.