device log api
add domain authorization
Merge pull request #3562 from dimagi/devicelogapi

device log api