handling accounts of devices
added export to excel