Get Custom device and person api working.
Fix setting initial email address for user.