Add device model
A user has many devices
Change locations.device_id to locations.uuid