fixing devices table, adding href for devices