add ui for adding device