add optional uuid to register call
Merge pull request #122 from beav/uuid

add optional uuid to register call