implementing first pass at device registration