make pin in assign_device store as string, not int
Merge remote-tracking branch 'origin/master'