device log api

REQUIRES DEVICE LOG REINDEX to add user_id field