Made some changes to registration.
Merge branch 'master' of https://github.com/ajd394/libzforfriends