added debug token and password support to device deploy