Move database.player.list's change, add, and remove events below the database.connected event to avoid a race condition