Fixing last_activity_date bug (would never get new activity since new Date() is always greater than the last_activity_date recorded in their db). Exposing the userId to allow for more sensible treatment of messages (e.g if messages.to == client.id ...)