Fixed sample code to register for photo services

README had old sample code for registering for services; updated to match the current API.
Merge pull request #31 from karlbecker/master

Fixed sample code to register for photo services