Adds getContact function to get infos from device