allow the user activity listener to act on any user object so long as it has the method setLastActivity
bug fix: typo $object -> $user