Added Identity functionality. User id is now stored in device. Action helpers add fromUser to every outgoing action