Add devices_online to server model