Add Device Form functional