Register device.
Authenticate device
Add post history API