Fixed a bug with device registration.
Fixed the current device creation and updation.
Merge pull request #10 from appacitive/master

Fixed bugs with current device creation.
Merge pull request #11 from appacitive/develop

Develop