start working on having device send regId to API