added method to get device id
added network helper