Fix race condition in update application
Replace heartbeats with user-status smart package
Move get_user_and_room into transaction body